package com.project.finance.mobile.user.service.impl;

import com.project.finance.common.mapper.TbUsersMapper;
import com.project.finance.common.po.TbUsers;
import com.project.finance.mobile.user.service.RegisterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: Brendan Li
 * @description 注册业务逻辑实现
 * @Date: 2019/12/09/11:09
 */
@Service
public class RegisterServiceImpl implements RegisterService {
    @Autowired
    private TbUsersMapper tbUsersMapper;

    @Override
    public int saveUser(TbUsers user) {
        int insert = tbUsersMapper.insert(user);
        return insert;
    }
}
